import $config from '@/common/config.js';
export const VIDEOLIST = [{
		url: "/dlly/homeVideo.mp4",
		poster: "http://portal.xumengte.com/dlly/bgc1.png"
	},
	{
		url: "/dlly/floor1.mp4",
		poster: "http://portal.xumengte.com/dlly/bgc1.png"
	},
	{
		url: "/dlly/videonewtrend.mp4",
		poster: "http://portal.xumengte.com/dlly/bgc1.png"
	},
	{
		url: "/dlly/videoHvac.mp4",
		poster: "http://portal.xumengte.com/dlly/bgc1.png"
	},
	{
		url: "/dlly/videoLight.mp4",
		poster: "http://portal.xumengte.com/dlly/bgc1.png"
	},
	{
		url: "/dlly/videoSunshade.mp4",
		poster: "http://portal.xumengte.com/dlly/bgc1.png"
	},
	{
		url: "/dlly/homeVideo.mp4",
		poster: "http://portal.xumengte.com/dlly/bgc1.png"
	}
];

export const CONSTALLS = {
	"公区照明": [{
			value: '0',
			code: 'E33_kWh_GQZM',
			name: '一层照明'
		},
		{
			value: '0',
			code: 'E34_kWh_GQZM',
			name: '二层照明'
		},
		{
			value: '0',
			code: 'E35_kWh_GQZM',
			name: '三层照明'
		}
	],
	"水吧插座": [{
			value: '0',
			code: 'E33_kWh_SBCZ',
			name: '一层水吧插座'
		},
		{
			value: '0',
			code: 'E34_kWh_SBCZ',
			name: '二层水吧插座'
		},
		{
			value: '0',
			code: 'E35_kWh_SBCZ',
			name: '三层水吧插座'
		}
	],
	"走廊插座": [{
			value: '0',
			code: 'E33_kWh_ZLCZ',
			name: '一层走廊插座'
		},
		{
			value: '0',
			code: 'E34_kWh_ZLCZ',
			name: '二层走廊插座'
		},
		{
			value: '0',
			code: 'E35_kWh_ZLCZ',
			name: '三层走廊插座'
		}
	],
	"卫生间": [{
			value: '0',
			code: 'E33_kWh_WSJ',
			name: '一层卫生间'
		},
		{
			value: '0',
			code: 'E34_kWh_WSJ',
			name: '二层卫生间'
		},
		{
			value: '0',
			code: 'E35_kWh_WSJ',
			name: '三层卫生间'
		}
	],
	"其他": [{
			value: '0',
			code: 'E33_kWh_SBJ',
			name: '一层其他'
		},
		{
			value: '0',
			code: 'E34_kWh_WZAWSJ',
			name: '二层其他'
		},
		{
			value: '0',
			code: 'E35_kWh_QSJ',
			name: '三层其他'
		}
	]
};

export const offset1Array = [
	[79, 36],
	[79, 116],
	[120, 36],
	[210, 36],
	[294, 36],
	[340, 36],
	[340, 116],
	[254, 116],
	[106, 116]
];

export const offset2Array = [
	[79, 36],
	[79, 116],
	[120, 36],
	[210, 36],
	[294, 36],
	[340, 36],
	[340, 116],
	[254, 116],
	[106, 116]
];

export const offset3Array = [
	[79, 36],
	[79, 116],
	[120, 36],
	[210, 36],
	[294, 36],
	[340, 36],
	[340, 116],
	[254, 116],
	[106, 116]
];

export const fanMapArray = [{
		itemStyle: {
			color: '#3D81F3'
		},
		value: '35.8',
		origin: '35.8',
		code: "power_lift",
		name: "电梯用电",
		unit: "千瓦时"
	},
	{
		itemStyle: {
			color: '#75F36C'
		},
		value: '39.2',
		origin: '39.2',
		code: "power_newwind",
		name: "新风用电",
		unit: "千瓦时"
	},
	{
		itemStyle: {
			color: '#76DBFB'
		},
		value: '0.0',
		origin: '0.0',
		code: "power_hvac",
		name: "暖通用电",
		unit: "千瓦时"
	},
	{
		itemStyle: {
			color: '#FFEE73'
		},
		value: '10.2',
		origin: '10.2',
		code: "power_lighting",
		name: "照明用电",
		unit: "千瓦时"
	},
	{
		itemStyle: {
			color: '#A56CFA'
		},
		value: '8.4',
		origin: '8.4',
		code: "power_jack",
		name: "插座用电",
		unit: "千瓦时"
	},
	{
		itemStyle: {
			color: '#FFAF66'
		},
		value: '6.4',
		origin: '6.4',
		code: "power_other",
		name: "其他用电",
		unit: "千瓦时"
	}
];

export const optionTopList = [{
		icon: "mj",
		label: "建筑面积",
		val: 3986,
		unit: "㎡"
	},
	{
		icon: "hosptol",
		label: "建筑类型",
		val: "办公建筑"
	},
	{
		icon: "zongshu",
		label: "设备总数",
		val: 227,
		unit: "个"
	},
	{
		icon: "renshu",
		label: "办公人数",
		val: 136,
		unit: "人"
	}
];
export const averageList = [{
		icon: "nenghao",
		label: "昨日人均电耗",
		val: "0.46",
		unit: "kWh/人"
	},
	{
		icon: "tanpaifang",
		label: "昨日人均碳排放",
		val: "0.36",
		unit: "kg/人"
	},
	{
		icon: "mianji",
		label: "昨日单位面积能耗",
		val: "0.02",
		unit: "kWh/㎡"
	}
];
export const unit8List = [{
		range: [18, 25],
		unit: "℃",
		value: '25',
		name: "温度",
		key: "temp",
		code: "temp"
	},
	{
		range: [40, 70],
		unit: "%",
		value: '52',
		name: "湿度",
		key: "humi",
		code: "humi"
	},
	{
		range: [800, 1000],
		unit: "ppm",
		value: '486',
		name: "CO2",
		key: "co2",
		code: "co2"
	},
	{
		range: [0.6, 1.2],
		unit: "mg/m³",
		value: '0.06',
		name: "TVOC",
		key: "tvoc",
		code: "tvoc"
	}
];

export const carbonList = [{
		id: '1',
		src: $config.comstatic + '/reddImg/power.png',
		name: '累计用电量',
		num: 3365,
		unit: '(千瓦时)',
	},
	{
		id: '2',
		src: $config.comstatic + '/reddImg/pent.png',
		name: '累计节电量',
		num: 31,
		unit: '千瓦时',
	},
	{
		id: '3',
		src: $config.comstatic + '/reddImg/mei.png',
		name: '累计碳排放量',
		num: 1455,
		unit: '(万吨)',
	},
	{
		id: '4',
		src: $config.comstatic + '/reddImg/redd.png',
		name: '累计减碳量',
		num: 411,
		unit: '(万吨)',
	},
];
